package main

import "fmt"

func main() {
	//map
	m := make(map[string]int)
	m["k1"] = 1
	m["k2"] = 2
	fmt.Println(m["k1"])
	// map字面量
	m2 := map[string]int{"foo": 1, "bar": 2}
	fmt.Println(m2)
	//切片字面量
}
